<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
  export default {
    name: 'App',
    data () {
      return {
        section: 'Head'
      }
    },
    methods: {
      logout () {
        this.$store.commit('SET_USER', null)
        this.$store.commit('SET_GRAPH', graph)
        this.$store.commit('SET_HANDLE', handle)
        this.$store.commit('SET_SUBMIT', submit)
        if (window.sessionStorage) {
          window.sessionStorage.setItem('user', null)
          window.sessionStorage.setItem('xGraph', null)
          window.sessionStorage.setItem('xhandle', null)
          window.sessionStorage.setItem('xsubmit', null)
        }

        this.$router.push('/login')
      }
    }
  }
</script>
<style>
.modal-dialog {
    z-index: 1999;
}
.modal {
    z-index: 1998 !important;
}
.modal-backdrop {
    z-index: 1997 !important;
}
</style>

